package com.otitan.la.forest.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.otitan.la.forest.system.dto.AreaHistoryDTO;
import com.otitan.la.forest.system.entity.AreaHistoryEntity;
import com.otitan.la.forest.system.vo.AreaHistoryVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 行政区划表
 * 
 * @author jiacs
 * @email xxx
 * @date 2020-10-13 14:46:25
 */
@Mapper
public interface AreaHistoryMapper extends BaseMapper<AreaHistoryEntity> {

    /**
     * 查询行政区历史记录接口
     * @author jiachangsen
     * @param [areaHistory, pagePlug]
     * @return java.util.List<com.otitan.la.forest.system.vo.AreaHistoryVO>
     * @exception
     * @date 2020/10/20 17:17
     */
    List<AreaHistoryVO> findPageData(@Param("areaHistory") AreaHistoryDTO areaHistory, Page<AreaHistoryVO> pagePlug);
}
